package com.ordering.service.product;

import com.ordering.constant.ResultResponse;
import com.ordering.entity.Page;
import com.ordering.entity.Product;

public interface ProductService
{
    public ResultResponse add(Product product);
    
    public ResultResponse delect(Product product);
    
    public ResultResponse get4page(Product product,Page page);
    
    public Product getById(long id);
    
    public ResultResponse count(Product product);
    
    public ResultResponse updateStatus(long id,int status);
    
    public ResultResponse update(Product product);
}
